﻿
using SHZY.Business.Entitys.Dto.customerfile;
using SHZY.Common.Models;
using SqlSugar;

namespace SHZY.Business.Entitys.Dto.customercomplaint
{
    /// <summary>
    /// 客户投诉主表修改输入参数.
    /// </summary>
    public class QmsBusiCustomerComplaintCrInput 
    {
        #region 基础信息

        /// <summary>
        /// 工单编号.
        /// </summary>
        public string No { get; set; }

        /// <summary>
        /// 客户编码.
        /// </summary>
        public string CustomerNo { get; set; }

        /// <summary>
        /// 客户名称.
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 反馈阶段.
        /// </summary>
        public string FeedbackStage { get; set; }

        /// <summary>
        /// 反馈人.
        /// </summary>
        public string FeedbackUserName { get; set; }

        /// <summary>
        /// 反馈日期.
        /// </summary>
        public DateTime? FeedbackDate { get; set; }

        /// <summary>
        /// 反馈方式.
        /// </summary>
        public string FeedbackWay { get; set; }

        /// <summary>
        /// 反馈单号.
        /// </summary>
        public string FeedbackNo { get; set; }

        /// <summary>
        /// 抱怨类型.
        /// </summary>
        public string ComplaintType { get; set; }

        /// <summary>
        /// 产品名称.
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 缺陷类别.
        /// </summary>
        public string DefectCategory { get; set; }

        /// <summary>
        /// 问题描述.
        /// </summary>
        public string ProblemDescription { get; set; }

        /// <summary>
        /// 创建人.
        /// </summary>
        public string CreatorUserId { get; set; }

        /// <summary>
        /// 问题归属.
        /// </summary>
        public string ProblemAttribution { get; set; }
        #endregion
        #region 调查结果

        /// <summary>
        /// 调查人.
        /// </summary>
        public string CheckUserId { get; set; }

        /// <summary>
        /// 调查日期.
        /// </summary>
        public DateTime? CheckDate { get; set; }

        /// <summary>
        /// 发生原因.
        /// </summary>
        public string CheckCause { get; set; }

        /// <summary>
        /// 流出原因.
        /// </summary>
        public string CheckCauseOut { get; set; }

        /// <summary>
        /// 根本原因.
        /// </summary>
        public string CheckCauseRoot { get; set; }

        /// <summary>
        /// 问题类别.
        /// </summary>
        public string CheckProblem { get; set; }

        /// <summary>
        /// 是否重复.
        /// </summary>
        public string CheckDuplicate { get; set; }

        /// <summary>
        /// 是否重大.
        /// </summary>
        public string CheckMajor { get; set; }

        /// <summary>
        /// 涉及不良数.
        /// </summary>
        public int? CheckBadNum { get; set; }
        #endregion
        #region 临时对策

        /// <summary>
        /// 反馈现场的处理对策.
        /// </summary>
        public string TcProcessing { get; set; }

        /// <summary>
        /// 不良发生的拦截对策.
        /// </summary>
        public string TcIntercept { get; set; }

        /// <summary>
        /// 计划完成时间.
        /// </summary>
        public DateTime? TcPlannedDate { get; set; }

        /// <summary>
        /// 责任人.
        /// </summary>
        public string TcResponsible { get; set; }

        /// <summary>
        /// 实际完成时间.
        /// </summary>
        public DateTime? TcActualDate { get; set; }

        /// <summary>
        /// 执行状态0未关闭 1关闭.
        /// </summary>
        public int? TcStatus { get; set; }

        ///// <summary>
        ///// 文件信息.
        ///// </summary>
        //public List<FileControlsModel> FileInfo { get; set; }

        ///// <summary>
        /////备注. 
        ///// </summary>
        //public string Remark { get; set; }

        ///// <summary>
        ///// 上传人.
        ///// </summary>
        //public string CreatorUser { get; set; }

        ///// <summary>
        ///// 上传日期.
        ///// </summary>
        //public DateTime? UploadTime { get; set; }

        #endregion
        #region 长期对策

        /// <summary>
        /// 防止发生.
        /// </summary>
        public string LcPrevention { get; set; }

        /// <summary>
        /// 防止流出.
        /// </summary>
        public string LcLeakage { get; set; }

        /// <summary>
        /// 计划完成时间.
        /// </summary>
        public DateTime? LcPlannedDate { get; set; }

        /// <summary>
        /// 责任人.
        /// </summary>
        public string LcResponsible { get; set; }

        /// <summary>
        /// 实际完成时间.
        /// </summary>
        public DateTime? LcActualDate { get; set; }

        /// <summary>
        /// 执行状态0未关闭 1关闭.
        /// </summary>
        public int? LcStatus { get; set; }
        #endregion
        #region 质量损失

        /// <summary>
        /// 责任部门.
        /// </summary>
        public string QualityDept { get; set; }

        /// <summary>
        /// 责任人.
        /// </summary>
        public string QualityResponsible { get; set; }

        /// <summary>
        /// 责任主管.
        /// </summary>
        public string QualityManager { get; set; }

        /// <summary>
        /// 材料费.
        /// </summary>
        public decimal QualityMaterial { get; set; }

        /// <summary>
        /// 返工费.
        /// </summary>
        public decimal QualityRework { get; set; }

        /// <summary>
        /// 运输费.
        /// </summary>
        public decimal QualityFreight { get; set; }

        /// <summary>
        /// 差旅费.
        /// </summary>
        public decimal QualityTravel { get; set; }

        /// <summary>
        /// 客户扣款.
        /// </summary>
        public decimal QualityCDeductions { get; set; }

        /// <summary>
        /// 预估挽回损失.
        /// </summary>
        public decimal QualityEstimated { get; set; }

        /// <summary>
        /// 合计金额.
        /// </summary>
        public decimal QualityTotalAmount { get; set; }

        /// <summary>
        /// 备注.
        /// </summary>
        public string MassLossRemark { get; set; }
        #endregion

    }
}
